package com.cande.loki.exercise.nacos;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description 周三会员日时间支持配置
 * @Author wgf
 * @Date 2025/4/21 7:22 PM
 */
@Configuration
@ConfigurationProperties(prefix = "time-window")
public class TimeWindowConfig {
    public TimeWindowConfig() {
    }

    private Integer startDay;
    private String startTime;
    private Integer endDay;
    private String endTime;

    public Integer getStartDay() {
        return startDay;
    }

    public void setStartDay(Integer startDay) {
        this.startDay = startDay;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Integer getEndDay() {
        return endDay;
    }

    public void setEndDay(Integer endDay) {
        this.endDay = endDay;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
